﻿
namespace Mulala.Cavan.Core.Storage
{
    using System;
    using System.Collections.Generic;
    using System.Diagnostics.Contracts;
    using System.Linq;
    using System.Web.Caching;

    public interface ICacheStorage
    {
        object this[string key] { get; set; }

        void Insert(string key, object value, CacheDependency dependencies);

        void Insert(string key, object value, CacheDependency dependencies, DateTime absoluteExpiration,
            TimeSpan slidingExpiration);
    }
}